package com.tansun.easycare.rule.datamodel.model;

import java.util.ArrayList;
import java.util.List;

import com.tansun.easycare.rule.common.model.BaseObject;

/**
 * 数据模型
 *
 * @author kuanglishi
 */

public class DataModel extends BaseObject {
    /**
     * 数据集对应的变量
     */
    private List<Attribute> attrList;
    /**
     * 模型类型，输入，输出，ALL
     */
    private String paramType;

    public List<Attribute> getAttrList() {
        if (attrList == null) {
            attrList = new ArrayList();
        }
        return attrList;
    }

    public void setAttrList(List<Attribute> attrList) {
        this.attrList = attrList;
    }

    public String getParamType() {
        return paramType;
    }

    public void setParamType(String paramType) {
        this.paramType = paramType;
    }

    public DataModel(List<Attribute> attrList, String paramType) {
        super();
        this.attrList = attrList;
        this.paramType = paramType;
    }

    public DataModel() {
        super();
    }


}
